package edu.hunan.cxb18.jdbc.dao;

import edu.hunan.cxb18.jdbc.pojo.User;

import java.util.List;

/**
 * @author chenheng
 * @create 2020-03-24 8:17
 */
public interface UserDao {
    public int insertUser(User user);
    public String queryNameById(Integer id);
    public User queryUserById(Integer id);
    public List<User> queryUsersByName(String username);
}
